package cn.lhq.dao;

import java.util.List;

import cn.lhq.bean.Activity;

public interface ActivityDao {

	public void save(Activity activity);
	public void update(Activity activity);
	public List<Activity> findAll();
	public void deleteById(int activityId);
	public void deleteByCreatorId(int creatorId);
	public Activity findByActivityId(int activityId);
	public List<Activity> findByCreatorId(int creatorId);
	public Activity findByActivityName(String title);
}
